/**
 * 
 */
package com.xb.demo17.observer;

/**
 * 观察这
 * 
 * @author kexue
 *
 */
public abstract class Observer {

	protected Subject subject;

	public abstract void update(int status);

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}
}
